package com.fenghongzhang.day009;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface FengServerApi {
    String BASE_URL ="http://www.fenghongzhang.com:7777/";

    @POST("/register/new")
    Observable<User> registerUser(@Field("userName") String userName,@Field("userPwd") String userPwd);
}
